﻿<UserControl x:Class="CardPlay.Client.Views.GamePreviewView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Canvas HorizontalAlignment="Right" IsEnabled="False" >
            <ContentControl x:Name="GameVisual" Width="1920" Height="1080" />
        </Canvas>
        <Grid Background="ForestGreen" IsEnabled="False">
            <Border BorderThickness="0" BorderBrush="DimGray">
                <Rectangle x:Name="Canvas">
                    <Rectangle.Fill>
                        <VisualBrush Visual="{Binding ElementName=GameVisual}" Stretch="Uniform" />
                    </Rectangle.Fill>
                </Rectangle>
            </Border>
        </Grid>
    </Grid>
</UserControl>
